package com.szl.yeb.entity;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * (MailLog)表实体类
 *
 * @author szl
 * @since 2022-09-04 09:46:11
 */
@ApiModel("MailLog")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_mail_log")
public class MailLog implements Serializable {

    private static final long serialVersionUID = 1L;

    //消息id
    @ApiModelProperty("消息id")
    private String msgId;
    //接收员工id
    @ApiModelProperty("接收员工id")
    private Integer eid;
    //状态（0:消息投递中 1:投递成功 2:投递失败）
    @ApiModelProperty("状态（0:消息投递中 1:投递成功 2:投递失败）")
    private Integer status;
    //路由键
    @ApiModelProperty("路由键")
    private String routeKey;
    //交换机
    @ApiModelProperty("交换机")
    private String exchange;
    //重试次数
    @ApiModelProperty("重试次数")
    private Integer count;
    //重试时间
    @ApiModelProperty("重试时间")
    private LocalDateTime tryTime;
    //创建时间
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    //更新时间
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}

